.content {
    padding: 20px 50px;
    font-size: 14px;
    width: 90%;
    margin: 0 auto;
}

.content h1 {
    font-size: 20px;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-right: 50px;
}

.content p {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: justify;
    color: #2c3e50;
    line-height: 1.5;
}


.content .menu {
    display: flex;
    border-bottom: 3px solid black;
    margin-bottom: 20px;
}


.posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post {
    width: 45%;
    padding: 20px 0;
    font-size: 14px;
    animation: floatUp 1s ease-in-out;
}

.post h1 {
    color: #000;
    border-bottom: solid 1px #000;
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.post .text {
    line-height: 1.8em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

.post a {
    display: block;
    border: solid #8a8a8a;
    padding: 10px 15px;
    float: right;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    border-radius: 0 30px 0 30px;
    color: #555;
    margin-top: 20px;
}

.post a:hover {
    color: #007AFF;
    border: solid #3496ff;
}

@keyframes floatUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media screen and (max-width: 768px) {
    .content {
        padding: 10px;
        font-size: 12px;
    }

    .content .menu {
        justify-content: space-around;
    }

    .content h1 {
        font-size: 16px;
        letter-spacing: 0.1em;
        cursor: pointer;
        margin-right: 0;
    }
}

/* 超小屏幕（手机） */
@media screen and (max-width: 420px) {}